It is easy to make a fake joystick or mouse to test your game or program. It also gives rise to a variety of other possibilities. The following code jiggles your mouse every 10 seconds or so.
Download the vmouse.c source code
Then, compile:
cc vmouse.c -o virtual-mouse
Run by (root needed if you don't specify a device):
sudo ./virtual-mouse
- Volume decreaser: decrease volume by 1% every 10 minutes to save your ears